#!/usr/bin/env bash

REPO_SERVE=192.168.20.160
TOOLS_DIR=/home/lavenliu/tools

[ ! -d /data0/www/bbs ] && mkdir -p /data0/www/bbs

cd ${TOOLS_DIR}
wget http://${REPO_SERVE}/tools/bbs_upload.tar.gz
tar -xf bbs_upload.tar.gz
mv bbs_upload/* /data0/www/bbs

